from django.urls import path

from article import views

# 正在部署的应用的名称
app_name = 'article'

urlpatterns = [
    path('', views.index),
    path('test/', views.my_test, name='test_comment'),
    path('article_detail/<int:article_id>/', views.article_detail, name='post_comment'),
    path('article/<int:pk>/', views.ArticleDetailView.as_view(), name='article_detail')
]
